<table cellspacing="0" cellpadding="0" width="100%">
  <thead>
  <tr>
    <td class="selector">&nbsp;</td>
    <td>用户名</td>
    <td width="120">备注</td>
    <td class="time">加入时间</td></tr></thead>
  <tbody>
   #if($null.isNull($friends) || $friends.size()==0)
  	<tr>
    <td colspan="4">没有记录</td>
	</tr>
   #else
  #foreach($friend in $friends)
  <tr>
    <td><input class="checkbox" type="checkbox" value="$friend.friendid" name="friendID"></td>
    <td><a href="/members/$friend.friendid" target="_blank">$friend.friendid</a></td>
    <td>$!friend.remark</td>
       <td>$!date.format("yyyy-MM-dd HH:mm:ss",$!friend.createtime)</td>
	</tr>
#end
#end
</tbody></table>
#if($null.isNull($friends) || $friends.size()==0)
#else
<div class="management"><label><input class="checkbox" id="chkall" onclick="checkall(this.form)" type="checkbox" name="chkall"> 全选</label><button name="delfriends" type="submit">删除</button></div>
#end
#if($pageCount==1)
 #else
 #parse("/board/_pager.html")
 #end
 <script type="text/javascript">
	var pagesCount=$pageCount;
	var pageIndex=$pageIndex;
</script>
#includeJs(["jquery.jqpagination.min","friends/friends"])
#includeCss(["jqpagination"])